package org.whale.springcloud.eureka.user.client.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@ConfigurationProperties(prefix = "user.client")
@Component
public class UserClientConfig {

  private String serverIp;

  private String serverPort;

  private String serverAppName;

  public String getServerIp() {
    return serverIp;
  }

  public void setServerIp(String serverIp) {
    this.serverIp = serverIp;
  }

  public String getServerPort() {
    return serverPort;
  }

  public void setServerPort(String serverPort) {
    this.serverPort = serverPort;
  }

  public String getServerAppName() {
    return serverAppName;
  }

  public void setServerAppName(String serverAppName) {
    this.serverAppName = serverAppName;
  }
}
